package com.sqmx.base.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sqmx.common.annotation.Excel;
import com.sqmx.common.core.domain.BaseEntity;

/**
 * 宠物基础信息对象 sqmx_pet
 * 
 * @author ruoyi
 * @date 2025-03-19
 */
public class SqmxPet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宠物ID */
    private Long id;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String petName;

    /** 宠物年龄 */
    @Excel(name = "宠物年龄")
    private Integer petAge;

    /** 宠物性别 */
    @Excel(name = "宠物性别")
    private Integer petSex;

    /** 物种 */
    @Excel(name = "物种")
    private String species;

    /** 品种 */
    @Excel(name = "品种")
    private String breed;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 体重（kg） */
    @Excel(name = "体重", readConverterExp = "k=g")
    private BigDecimal weight;

    /** 毛色 */
    @Excel(name = "毛色")
    private String color;

    /** 是否删除 */
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPetName(String petName) 
    {
        this.petName = petName;
    }

    public String getPetName() 
    {
        return petName;
    }

    public void setPetAge(Integer petAge) 
    {
        this.petAge = petAge;
    }

    public Integer getPetAge() 
    {
        return petAge;
    }

    public void setPetSex(Integer petSex) 
    {
        this.petSex = petSex;
    }

    public Integer getPetSex() 
    {
        return petSex;
    }

    public void setSpecies(String species) 
    {
        this.species = species;
    }

    public String getSpecies() 
    {
        return species;
    }

    public void setBreed(String breed) 
    {
        this.breed = breed;
    }

    public String getBreed() 
    {
        return breed;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }

    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }

    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petName", getPetName())
            .append("petAge", getPetAge())
            .append("petSex", getPetSex())
            .append("species", getSpecies())
            .append("breed", getBreed())
            .append("birthDate", getBirthDate())
            .append("weight", getWeight())
            .append("color", getColor())
            .append("createTime", getCreateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
